home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / axterix.swf / scripts / DefineButton2_80 / BUTTONCONDACTION on(keyPress Up).as < prev   
Text File  |  2011-09-19  |  367b  |  21 lines

  1. on(keyPress "<Up>"){
  2.    choix--;
  3.    sonMC.gotoAndPlay(3);
  4.    if(choix == 1)
  5.    {
  6.       bordinew.gotoAndPlay(2);
  7.       bordiold.gotoAndStop(1);
  8.    }
  9.    if(choix == 2)
  10.    {
  11.       bordiold.gotoAndPlay(2);
  12.       bordinew.gotoAndStop(1);
  13.    }
  14.    if(0 >= choix)
  15.    {
  16.       choix = 2;
  17.       bordiold.gotoAndPlay(2);
  18.       bordinew.gotoAndStop(1);
  19.    }
  20. }
  21.